package com.lipaluma.annotations.config;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.lipaluma.field.validator.strategies.ValidationStrategyEnum;

/**
 * Annotation allows user to define the strategy how manage the validation errors
 * @author Mario
 */
@Documented
@Inherited
@Target({ElementType.TYPE, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ValidationStrategy {
	/**
	 * the validation strategy
	 */
	ValidationStrategyEnum value();
}
